package com.res.share.common.utils;

import com.res.share.model.ResCategory;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class CategoryUtils {

    private static Map<String, List<ResCategory>> resCategoryMap = new HashMap<>();

    public static List<ResCategory> getValue(String key) {
        return resCategoryMap.get(key);
    }

    public static void setValue(String key, List<ResCategory> resCategoryList) {
        resCategoryMap.put(key, resCategoryList);
    }
}
